﻿<%@ WebHandler Language="C#" Class="Insertashx" %>

using System;
using System.Web;
using Dos.ORM;
using Dos.Model;

public class Insertashx : IHttpHandler
{

    public void ProcessRequest(HttpContext context)
    {
        context.Response.ContentType = "text/plain";
        HttpRequest req = context.Request;
        lpsos_ci123 o = JsonHelper.GetT<lpsos_ci123>(req["source"]);
        DB.Context.Insert<lpsos_ci123>(o);
    }

    public bool IsReusable
    {
        get { return false; }
    }

}